<?php

namespace App\Services\Admin\Other;

use App\Services\Admin\BaseAdminService;
use Exception;

class BaseOtherService extends BaseAdminService
{

    /**
     * @throws Exception
     */
    protected function getExpressModel(int $type)
    {
        switch ($type) {
            case 10:
                return $this->getShopOrderExpressModel();
            case 20:
                return $this->getSlaughterExpressModel();
        }
        return null;
    }

}
